﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DIS_WEB_Client.Helpers
{
    #region Using
    using DIS_Web_Client.DIS_WS_BusinessLayer;
    using System.ServiceModel;
    #endregion

    public class BusService
    {
        private static IDIS_Service_BusinessLayer _svc = null;

        static BusService()
        {
            _svc = new ChannelFactory<IDIS_Service_BusinessLayer>("BasicHttpBinding_IDIS_Service_BusinessLayer").CreateChannel();
        }

        public static IDIS_Service_BusinessLayer Instance
        {
            get { return _svc; }
        }
    }
}
